﻿using System;

namespace MockDataTransferObject
{
    public class Message : AbstractEntity
    {
        public Guid MessageId { get; set; }
        public User From { get; set; }
        public User To { get; set; }
        public string Title { get; set; }
        public string Content { get; set; }
        public DateTime SendDate { get; set; }
        public bool IsRead { get; set; }
        public bool IsReceive { get; set; }

        public override string RetrievePrimaryKeyColumn()
        {
            return "MessageId";
        }
    }
}
